<template>
  <div class="container-slot-panel-card">
    <div class="item-title">
      <slot name="title">标题位置标题位置标题位置</slot>
    </div>
    <div class="item-tag">
      <slot name="tag">标签位置</slot>
    </div>
    <div class="item-description">
      <slot name="description">简介位置</slot>
    </div>
    <div class="item-danwei">
      <div class="group-block-name">
        <img class="item-icon" src="@/assets/sign.png">
        <sapn>出品单位</sapn>
      </div>
      <div class="item-danwei-scroll">
        <div v-for="temp in 6" :key="temp">单位列表</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less">
body {
  background-color: #ddd !important;
}
.container-slot-panel-card {
  margin: 50px;
  width: 320px;
  min-height: 400px;
  padding: 10px 20px;
  padding-bottom: 120px;
  position: relative;
  border-radius: 15px;
  box-sizing: border-box;
  background-color: #e9e9e9;
  &:after {
    content: "";
    width: 90%;
    height: 15px;
    background: #fff;
    position: absolute;
    top: -15px;
    left: 5%;
    border-radius: 15px 15px 0 0;
    z-index: -1;
  }
  .group-block-name {
    min-width: 90px;
  }
  .item-title {
    font-size: 30px;
    text-align: justify;
    overflow-wrap: break-word;
  }
  .item-danwei {
    width: 100%;
    position: absolute;
    display: flex;
    align-items: flex-start;
    bottom: 10px;
    .item-icon {
      width: 20px;
    }
  }
  .item-danwei-scroll {
    width: 100%;
    max-height: 100px;
    margin-left: 20px;
    overflow-y: scroll;
  }
}
</style>